Signature
Parameters
bool
default:"False"
If True, returns list of strings in format
'model_name:tag'. If False, returns list of tuples (model_name, tag).Returns
list
List of pretrained model/tag combinations. Format depends on
as_str parameter:- If
as_str=False: List of tuples[(model_name, tag), ...] - If
as_str=True: List of strings['model_name:tag', ...]
Example
Common Pretrained Tags
- openai: Official OpenAI CLIP weights
- laion400m_e31/e32: Trained on LAION-400M dataset
- laion2b_s34b_b88k: Trained on LAION-2B dataset
- datacomp_xl_s13b_b90k: Trained on DataComp-XL
- metaclip_400m/fullcc: MetaCLIP weights
- dfn2b/dfn5b: Apple DFN weights
- webli: Google SigLIP weights trained on WebLI
Helper Functions
For more targeted queries, consider using:See Also
- get_pretrained_cfg - Get configuration for a specific pretrained model/tag
- list_models - List available model architectures
- create_model - Create a model with pretrained weights
